﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Flight
{
    public struct ControlInputs
    {
        public float yaw, pitch, power;
        public bool braking;

        public ControlInputs(float yaw, float pitch, float power, bool braking)
        {
            this.yaw = MathHelper.Clamp(yaw, -1, 1);
            this.pitch = MathHelper.Clamp(pitch, -1, 1);
            this.power = MathHelper.Clamp(power, 0, 1);
            this.braking = braking;
        }
    }
}
